package com.alks.entity.data.entity.webPay;
import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

@Getter
@Setter
@NoArgsConstructor
public class FinancePayable extends PageParam implements Serializable {
    private String rowid;
    private String payNo;
    private String invoiceNo;
    private String factoryLotNo;
    private String vendorNo;
    private String vendorName;
    private String custInvNo;
    private String customsInvNo;
    private String custom;
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date shipDate;
    private String shipTime;
    private Double outPair;
    private Double outAmt;
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date outDate;
    private String outTime;
    private Double apAmt;
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date apDate;
    private Double discountAmt;
    private Double actAmt;
    private Double factoryPrice;
    private String remark;
    private String sysUser;
    private String sysTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date sysDate;
    private String companyId;
    private String cfmFlag;
    private String cfmUser;
    private Date cfmTime;
    private String currency;
    private Double recAmt;
    private String factoryContractNo;
    private String outMonth;
    @JsonFormat(pattern = "yyyy-MM",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM")
    private Date aoaDate;
    private String aoaTime;
    private int aoaDateStatus = 2;
    private String aoaCfm;
    private Date aoaCfmDate;
    private String aoaCfmUser;
    private String exportFlag;
    private String orderType;
    private String exportType;
    private String aoaQty;
    private Double orderQty;
    private String customPiNo;
    private String custCur;
    private Double custPrice;
    private Double custAmt;
    private Double premium;
    private String styleNo;
    private String styleColor;
    private String colorCode;
    private String season;
    private String styleName;
    private String custStyle;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date shipDateBegin;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date shipDateEnd;
}